package com.example.mybatis_puls.controller;

import com.example.mybatis_puls.pojo.User;
import com.example.mybatis_puls.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * ClassName: UserController
 * Package: com.example.mybatis_puls.controller
 * Description:
 * User: fzykd
 *
 * @Author: LQH
 * Date: 2023-01-14
 * Time: 10:49
 */

@RestController
@RequestMapping("/user")
public class UserController {


    @Autowired
    public UserService userService;

    //查询所有user数据
    @RequestMapping("/SelectList")
    public List<User> selectList(){
        return null;
    }

}
